package com.hducms.cms.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.hducms.cms.entity.main.CmsLog;
import com.hducms.common.page.Pagination;

public interface CmsLogDao {

	/**
	 * 获取单页日志信息
	 * @param map
	 * @return
	 */
	public List<CmsLog> getPage(Map<String, Object> map);
	/**
	 * 获取结果数量
	 * @param map
	 * @return
	 */
	public int countQueryResult(Map<String, Object> map);

	//
	public CmsLog findById(Integer id);

	public int save(CmsLog bean);

	 public void deleteById(Integer id);
	
	// public int deleteBatch(Integer category, Integer siteId, Date before);
}